﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NIteco.Intranet.RootSite.Class
{
    public static class Constants
    {
        #region Company Events Icons
        public static class CompanyEventsIcons
        {
            public const string ListName = "Company Events Icons";
            public class FieldName
            {
                public class DisplayName
                {
                    public const string Title = "Title";
                    public const string RefLink = "Ref Link";
                    public const string ImageOrder = "ImageOrder";
                    public const string URlPath = "URL Path";
                    public const string Description = "Description";
                }

                public class Staticname
                {
                    public const string Title = "Title";
                    public const string RefLink = "Ref_x0020_Link";
                    public const string ImageOrder = "ImageOrder";
                    public const string URlPath = "FileRef";
                    public const string RequiredField = "RequiredField";
                    public const string Description = "Description";
                }
            }
        }
        #endregion

        #region Company Picture Library

        public static class CompanyPictureLibrary
        {
            public const string ListName = "Company Picture Library";
            public const string DefaultImagePath = "/Style%20Library/Niteco.Intranet/Images/pictureLibraryDefaultImage.png";

            public class FieldName
            {
                public class DisplayName
                {
                    public const string Title = "Title";
                    public const string Name = "Name";
                    public const string URlPath = "URL Path";
                    public const string FolderDescription = "Folder Description";
                }

                public class Staticname
                {
                    public const string Title = "Title";
                    public const string Name = "FileLeafRef";
                    public const string URlPath = "FileRef";
                    public const string RequiredField = "RequiredField";
                    public const string FolderDescription = "Folder_x0020_Description";
                }
            }
        }

        #endregion

        #region Company Events

        public static class CompanyEvents
        {
            public const string ListName = "Company Events";
            public class FieldName
            {
                public class DisplayName
                {
                    public const string Id = "ID";
                    public const string EventDate = "EventDate";
                    public const string EndDate = "EndDate";
                }
            }
        }

        #endregion


        #region Company Discussion

        public static class CompanyDiscussion
        {
            public const string ListName = "Company Discussion";
            public class FieldName
            {
                public class DisplayName
                {
                    public const string Category = "Category";
                }
            }
        }

        #endregion

        #region ErrorMessage
        public static class ErrorMessage
        {
            public const string NotPermissionToDeleteItem = "You have not permission to delete this item.";
        }
        #endregion

        #region  SharePoint Groups
        public static class SharePointGroups
        {
            public const string SuggestionBoxAdmin = "Suggestion Box Admin";
            public const string Members = "Members";
            public const string Owners = "Owners";
            public const string Visitors = "Visitors";
            public const string AuthenticatedUsers = "NT AUTHORITY\authenticated users";
        }
        #endregion

        #region EventCalendarCamlQuery
       // public const string EventCalendarCamlQuery = @"<Where><DateRangesOverlap><FieldRef Name=""EventDate"" /><FieldRef Name=""EndDate"" /><FieldRef Name=""RecurrenceID"" /><Value Type=""DateTime""><Month /></Value></DateRangesOverlap></Where>";
        public const string EventCalendarCamlQuery = @"<Where><IsNotNull><FieldRef Name='Title' /></IsNotNull></Where>";
           
        #endregion
    }
}
